# -*- coding: utf-8 -*-  
'''
LDA模型相关loss

Created on 2021年8月22日
@author: luoyi
'''
import tensorflow as tf


#    空loss
class LDALoss(tf.keras.losses.Loss):
    def __init__(self, name='lda_loss', **kwargs):
        super(LDALoss, self).__init__(name=name, **kwargs)
        pass

    def call(self, y_true, y_pred):
        return tf.zeros_like(y_pred)
    pass
